<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="application/javascript" src="static/sha1.js"></script>
</head>
<script>
    const message="需要被加密的";
    let result = hex_sha1(message);
    alert(result);
</script>
<body>

</body>
</html>